package com.gxa.service.cm;

import com.github.pagehelper.PageInfo;
import com.gxa.param.cm.QueryParam;
import com.gxa.pojo.cm.Customer;
import com.gxa.pojo.cm.vo.TableVO;

import javax.servlet.http.HttpSession;

/**
 * @author Glenn
 */
public interface CustomerService {
    Customer getById(Integer id);

    PageInfo<Customer> listCustomer(QueryParam queryParam);

    int updateStatus(Integer id, Integer status);

    TableVO addCustomer(Customer customer, HttpSession session);

    TableVO updateCustomer(Customer customer, HttpSession session);
}
